package lk.cms.base.service;

/**
 * @author LK
 * @date 2020/9/5 - 16:25
 */
import java.io.Serializable;
import java.util.List;

import lk.cms.base.domain.BaseTreeEntity;
import org.junit.Test;





public abstract class GenericTreeManagerTestCase<PK extends Serializable, T extends BaseTreeEntity<T, PK>, M extends GenericTreeManager<T, PK>>
        extends GenericManagerTestCase<PK, T, M> {

    public GenericTreeManagerTestCase(Class<T> persistentClass) {
        super(persistentClass);
    }

    @Test
    public void testGetRoot() {
        List<T> result = this.manager.getRoot();
        if (logger.isInfoEnabled()) {
            logger.info("testGetRoot() - List<T> result=" + result); //$NON-NLS-1$
        }

    }

}

